package com.boyi.cycling_master.common;

import android.content.Context;
import android.support.design.widget.Snackbar;
import android.view.View;

/**
 *
 * @date 创建时间: 2017/7/10 15:11
 *
 * @author Lee_Mofeel
 *
 * @version 1.0
 *
 * @Description Snack 提示
 * 
 */

public class SnackUtil {

    public static void SnackShort(View view, String text){
        Snackbar.make(view,text,Snackbar.LENGTH_SHORT).show();
    }

    public static void SnackLong(View view,String text){
        Snackbar.make(view,text,Snackbar.LENGTH_LONG).show();
    }



}
